home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 47.7z / BS1 part 47 / ImageMaster RT v1.50b (1994)(Black Belt Systems)(Disk 6 of 7)[HD].7z / ImageMaster RT v1.50b (1994)(Black Belt Systems)(Disk 6 of 7)[HD].adf / piarc.lzh.parta / Fade.rxwp < prev    next >
Text File  |  1994-03-17  |  609b  |  27 lines

  1. /* Fade.rxwp - rexx script to fill wipe buffer */
  2.  
  3. parse arg cframe mframe
  4.  
  5. options;
  6. address;
  7.  
  8.   if mframe = 0 then do
  9.       call open(fhandle,'ram:IM_WIPE.tmp2','write');      /* open the file */
  10.       junk = writeln(fhandle, 0);
  11.       junk = writeln(fhandle, 0);
  12.       junk = writeln(fhandle, 0);
  13.       junk = writeln(fhandle, 0);
  14.       junk = writeln(fhandle, 0);
  15.       junk = writeln(fhandle, 1);
  16.       call close(fhandle);                     /* close the file    */
  17.     end;
  18.   else do
  19.     address("IM_WIPER");
  20.     fp = cframe / mframe;
  21.     'value '||fp
  22.     'box 0,0,1,1'
  23.     'close'
  24.     end;
  25.  
  26.   exit 0;
  27.